﻿using mozhi.smarterp.Finance.Ieps.Export;
using System;
using System.Collections.Generic;
using System.Text;

namespace mozhi.smarterp.Finance.Ieps.Print
{
    public class PrintHandlerFactory
    {
        public static IPrintHandler Instance(string moduleCode, IServiceProvider serviceProvider)
        {
            switch (moduleCode)
            {
                case "journal":
                    return new JournalPrintHandler(serviceProvider);

                default:
                    return null;
            }
        }
    }
}
